﻿using System;
using System.Collections.Generic;

namespace IceDog.DNF.Program.Dapper.Yellow.Models
{
    public class User
    {
        public User()
        {
            Role = new List<Role>();
        }
        public int UserId { get; set; }
        public string UserName { get; set; }
        public string Password { get; set; }
        public string Email { get; set; }
        public string PhoneNumber { get; set; }
        public bool IsFirstLogin { get; set; }
        public int LoginFailedCount { get; set; }
        public DateTime CreateTime { get; set; }
        public bool IsActive { get; set; }
        public List<Role> Role { get; set; }

    }
}
